package com.volcreate.week1;

import java.util.Scanner;

/**
 * @author zxc
 * @date 2020/9/20
 */
public class Main1 {
    /**
     * 18 -299
     * 1001 -9
     * -1001 8
     * 对每一组输入，如果a的绝对值>1000，输出|a|>1000，否则输出a+b的值。
     * @param args
     */
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextInt()){
            int i1 = scanner.nextInt();
            int i2 = scanner.nextInt();
            if (Math.abs(i1) > 1000) {
                System.out.println("|a|>1000");
            } else {
                System.out.println(i1 + i2);
            }
        }
    }
}
